package com.ruoyi.business.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;

/**
 * 发票视图对象 invoice_info
 *
 * @author ruoyi
 * @date 2024-04-20
 */
@Data
@ExcelIgnoreUnannotated
public class InvoiceInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 发票id
     */
    @ExcelProperty(value = "发票id")
    private Long invoiceId;

    /**
     * 账号id(当前订单)
     */
    @ExcelProperty(value = "账号id(当前订单)")
    private Long relevanceUserId;

    /**
     * 发票金额
     */
    @ExcelProperty(value = "发票金额")
    private BigDecimal invoiceAmount;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 其他参数
     */
    @ExcelProperty(value = "其他参数")
    private String elseParams;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @ExcelProperty(value = "删除标志", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=代表存在,1=代表删除")
    private Integer isDeleted;

    /**
     * 接收邮箱
     */
    @ExcelProperty(value = "接收邮箱")
    private String receivingMailbox;

    /**
     * 公司名称
     */
    @ExcelProperty(value = "公司名称")
    private String companyName;

    /**
     * 统一社会信用代码
     */
    @ExcelProperty(value = "统一社会信用代码")
    private String billingUSCI;

    /**
     * 开票开户行
     */
    @ExcelProperty(value = "开票开户行")
    private String billingOpeningBank;

    /**
     * 开票账户
     */
    @ExcelProperty(value = "开票账户")
    private String billingAccountNumber;

    /**
     * 开票电话
     */
    @ExcelProperty(value = "开票电话")
    private String billingTel;


}
